package com.sporadic.client;

import com.sporadic.client.mapper.DishesTypeMapper;
import com.sporadic.client.pojo.DishesType;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ApplicationContext;

import java.util.List;

@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.sporadic.client.mapper")
public class UserClientStart {
    public static void main(String[] args) {
        ApplicationContext ac = SpringApplication.run(UserClientStart.class, args);
        DishesTypeMapper bean = ac.getBean(DishesTypeMapper.class);
    }
}
